var app = getApp();
Page({
  data: {

  },
  onLoad: function (options) {
    //获取手机高度
    this.setData({
      navH: app.globalData.navHeight
    })
  },
  //页面加载
  onReady: function () {

  },
  onShow: function () {
    var that = this;
    // 允许从相机和相册扫码
    wx.scanCode({
      success: (res) => {
        var result = res.result;
       wx.redirectTo({
         url: '/pages/groupOrder/groupOrder',
       })
      }
    })
  },
  onPullDownRefresh: function () {

  },
  onReachBottom: function () {
  },
  navBack: function () {
    wx.navigateBack({

    })
  },
  
});